#include<iostream>
using namespace std;
int main()
{
    int a = 0;
    cin >>a;
    cout<<"77"<<a;
    return 0;

}